Conversation
Mesa DescriptionDescriptionThis PR adds a new TestedTested locally it toggles cursor visibility terminal output is Description generated by Mesa. Update settings |
There was a problem hiding this comment.
Performed full review of 29988ae...6f5dc3b
Analysis
-
Flag Design Anti-Pattern: The
--hiddenflag uses String type requiring explicit true/false values, inconsistent with the codebase's Bool flag pattern, creating unnecessary complexity with manual string parsing and reducing UX quality. -
Error Handling Gap: Silent error suppression on flag retrieval could lead to confusing user-facing errors.
-
API Contract Verification: Response from SetCursorVisibility is discarded without verification of its contents, potentially losing important status or metadata.
-
Missing Test Coverage: No tests were added for the new functionality, breaking the established pattern where other computer commands have corresponding test files.
Tip
Help
Slash Commands:
/review- Request a full code review/review latest- Review only changes since the last review/describe- Generate PR description. This will update the PR body or issue comment depending on your configuration/help- Get help with Mesa commands and configuration options
3 files reviewed | 0 comments | Edit Agent Settings • Read Docs

Description
This PR adds a new browsers computer set-cursor command to the CLI that allows users to show or hide the mouse cursor in browser computer sessions. This is useful for automations where cursor visibility may interfere with the user experience or for recording purposes. The implementation includes a new SetCursorVisibility method in the BrowserComputerService interface, proper error handling for invalid inputs and non-existent browsers, and updates the kernel-go-sdk from v0.18.0 to v0.19.0 to support the new API endpoint.
Tested
Tested locally it toggles cursor visibility terminal output is
